package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Getter
@Setter
public class Depot {

    public static final int STARE_BLOCK=0;//停用
    public static final int STATE_EXIST=1;//使用中
    private Long id;

    private String name;

    private String sn;

    private String tel;

    private String address;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GMT-8")
    private Date createDate;

    private String inputUser; //管理人

    private int state; //状态

    private String remark;


}